<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{color: rgb(48, 207, 194);}
    </style>
</head>
<body >
      <h1> AJAX demo2<span id="myName"></span> </h1>
      <p>
        <button id="getCSS"> 请求CSS</button>    
        <button id="getJS"> 请求JS</button>    
        <button id="getHTML"> 请求HTML</button>
        <button id="getXML"> 请求XML</button>
        <button id="getJSON"> 请求JSON</button>        
       </p>
       <script  src="/main.js"> </script>
</body>
</html> 